console.info('client');
console.info()

var net=require('net')
var HOST='127.0.0.1';
var port=9696;


var client=net.connect(port,HOST,()=>{
    console.log('client connected');
    console.log()
    client.write('heeeee')
})

client.on('data',(data)=>{
    console.log(data.toString())
    console.log()
    client.end()
})

client.on('end',()=>{
    console.log('client disconnected');
    console.info()
})


